import React from "react"
import { createStore } from 'redux';
import { Provider } from "react-redux";
import redux from "./reduxs"
import { Card } from 'antd';

import ReactX0101 from "./components/reactx01-01"

class ReactX01 extends React.Component {
    constructor(props) {
        super(props);
        this.store = createStore(redux)//连接redux
        
    }
    render() {
        return (
            <Provider store={this.store}>
                <Card title="读取数据" bordered={false}>
                    <ReactX0101 />
                </Card>
            </Provider>
        )
    }
}
export default ReactX01